package com.smartwrite.dto;

/**
 * 任务响应信息
 */
public class TaskResponse {
    
    private String taskId;      // 任务ID
    private String status;      // 任务状态
    private String message;     // 响应消息
    private Object result;      // 结果数据

    // 构造函数
    public TaskResponse() {}

    public TaskResponse(String taskId, String status) {
        this.taskId = taskId;
        this.status = status;
    }

    public TaskResponse(String taskId, String status, String message) {
        this.taskId = taskId;
        this.status = status;
        this.message = message;
    }

    public TaskResponse(String taskId, String status, String message, Object result) {
        this.taskId = taskId;
        this.status = status;
        this.message = message;
        this.result = result;
    }

    // Getter和Setter方法
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}